package com.jk.smartelderlycare.service.impl;

import com.jk.smartelderlycare.dao.TbOrderMapper;
import com.jk.smartelderlycare.entity.TbOrder;
import com.jk.smartelderlycare.service.TbOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hhk
 * @version 1.0
 * @ClassName TbOrderServiceImpl
 * @program: smart-elderly-care
 * @description: TODO
 * @date 2024/12/3 19:21
 */
@Service
public class TbOrderServiceImpl implements TbOrderService {
    @Autowired
    private TbOrderMapper tbOrderMapper;
    @Override
    public void addOrder(TbOrder tbOrder) {
        tbOrderMapper.insert(tbOrder);
    }
}
